package cn.edu.neusoft.wuguangsheng.flowerimpression.activity;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import cn.edu.neusoft.wuguangsheng.flowerimpression.R;

public class BaiKeInfoToDetailsActivity extends BaseActivity {

    ImageView detailes_fh;
    TextView detailes_title,detailes_content;

    private String title,content;

    @Override
    void initView() {
        setLayout_file(R.layout.activity_bai_ke_info_to_details);
        detailes_fh = (ImageView)findViewById(R.id.detailes_fh);
        detailes_title = (TextView)findViewById(R.id.detailes_title);
        detailes_content = (TextView)findViewById(R.id.detailes_content);

        title = getIntent().getStringExtra("title");
        content = getIntent().getStringExtra("content");

        detailes_title.setText(title);
        detailes_content.setText(content);
    }

    @Override
    void initEvent() {
        detailes_fh.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });

    }

    @Override
    void initDate() {

    }
}
